<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%-- <%@ page session="false" %> --%>
<%@page pageEncoding="UTF-8"%>
<html>
<head>
<script type="text/javascript" src="<%= request.getContextPath() %>/resources/jsapi.js"></script>
    <script type="text/javascript">
      google.load("visualization", "1", {packages:["corechart"]});
      google.setOnLoadCallback(drawChart);
      function drawChart() {
        var data = google.visualization.arrayToDataTable([
          ['Year', 'Sales', 'Expenses'],
          ['2004',  1000,      400],
          ['2005',  1170,      460],
          ['2006',  660,       1120],
          ['2007',  1030,      540],
          ['2008',  1130,      340],
          ['2009',  930,      640],
          ['20010',  330,      140],
        ]);

        var options = {
          title: 'Company Performance'
        };

        var chart = new google.visualization.LineChart(document.getElementById('chart_div'));
        chart.draw(data, options);
      }
    </script>
<title>Home</title>
</head>
<body>
	<h1>Hello world!</h1>
    
    <div id="chart_div" style="width: 900px; height: 500px; z-index: 0;"></div>
  </body>
</html>

	<P>The time on the server is ${serverTime}.</P>
</body>
</html>
